<?php
	function conectar(){
     	if (!($link = @mysql_connect("localhost","root","chilaman")) /*or !($link = @mysql_connect("192.168.1.66","usuario","inifap"))*/){
			echo "no logre conectar";
			return false;
		}
		//selecion de la base de datos 
		if (!($select_db = @mysql_select_db("a5547223_puentei",$link))){
			return false;
		}
		return $link;	
	}
	?>